<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>helloWorld-jsx</title>
    <script src="../build/react.development.js"></script>
    <script src="../build/react-dom.development.js"></script>
    <script src="../build/babel.min.js"></script>
</head>
<body>
    <div id="app"></div>
    <script type="text/babel">   // 凡事使用jsx 地方都需要用到babel;
        let helloWorld = <h1> helloWorld </h1>
        ReactDOM.render(helloWorld,document.getElementById('app'));
        // ReactDOM.render()  是ReactDOM最基本的方法，将模板转换为html超文本标记语言，来插入DOM
    </script>
</body>

</html>